﻿using Business.Base.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Business.NPSH
{
    public class NpshChartData: BaseChartData
    {

        double maxXNAxis;
        double minXNAxis;
        double minYHAxis;
        double maxYHAxis;
        int xUnitCount;
        int yUnitCount;

        double ratedNpsh;
        double ratedHead;
        double preRatedHead;
        double npshr =Double.NaN;

        List<double[]> drawList = new List<double[]>();
        List<Double[]> inputPoints = new List<Double[]>();

        public double MaxXNAxis { get => maxXNAxis; set => maxXNAxis = value; }
        public double MinXNAxis { get => minXNAxis; set => minXNAxis = value; }
        public double MinYHAxis { get => minYHAxis; set => minYHAxis = value; }
        public double MaxYHAxis { get => maxYHAxis; set => maxYHAxis = value; }
        public int XUnitCount { get => xUnitCount; set => xUnitCount = value; }
        public int YUnitCount { get => yUnitCount; set => yUnitCount = value; }
        public double RatedNpsh { get => ratedNpsh; set => ratedNpsh = value; }
        public double RatedHead { get => ratedHead; set => ratedHead = value; }
        public List<double[]> DrawList { get => drawList; set => drawList = value; }
        public List<double[]> InputPoints { get => inputPoints; set => inputPoints = value; }
        public double PreRatedHead { get => preRatedHead; set => preRatedHead = value; }
        public double NPSHR { get => npshr; set => npshr = value; }
    }
}
